﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TapuKadastro.master" AutoEventWireup="true"
    CodeBehind="SozlesmeKayit.aspx.cs" Inherits="IKYSWeb.Sozlesme.SozlesmeKayit" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="../UserControls/Tarih.ascx" TagName="Tarih" TagPrefix="uc1" %>
<%@ Register Src="../UserControls/Sayi.ascx" TagName="Sayi" TagPrefix="uc2" %>
<%@ Register Src="../UserControls/ZamanAralik.ascx" TagName="Zaman" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPH" runat="server">
    <table class="form">
        <tr>
            <td class="label" style="width: 15%">
                İli
            </td>
            <td style="width: 35%">
                <asp:DropDownList ID="ddlIl" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlIl_SelectedIndexChanged"
                    Width="208px">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="rfvIl" runat="server" ControlToValidate="ddlIl" InitialValue="-1"
                    Text="İl Seçiniz"></asp:RequiredFieldValidator>
            </td>
            <td style="width: 15%" class="label">
                İlçesi
            </td>
            <td style="width: 35%">
                <asp:DropDownList ID="ddlIlce" runat="server" Width="208px">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="rfvIlce" runat="server" ControlToValidate="ddlIlce"
                    InitialValue="-1" Text="İlçe Seçiniz"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                Köyü/Mahallesi
            </td>
            <td>
                <asp:TextBox ID="txtKoyMahalle" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvKoyMahalle" runat="server" ControlToValidate="txtKoyMahalle"
                    Text="Köyü/Mahallesini Giriniz"></asp:RequiredFieldValidator>
            </td>
            <td class="label">
                Maliki Adı Soyadı
            </td>
            <td>
                <asp:TextBox ID="txtMalikAdi" runat="server" Width="94px"></asp:TextBox>
                <asp:TextBox ID="txtMalikSoyadi" runat="server" Width="94px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvMalikiAdi" runat="server" ControlToValidate="txtMalikAdi"
                    Text="Malik Adını Giriniz"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="rfvMalikSoyadi" runat="server" ControlToValidate="txtMalikSoyadi"
                    Text="Malik Soyadını Giriniz"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                Ada/Parsel No
            </td>
            <td>
                <asp:TextBox ID="txtAda" runat="server" Width="94px" CssClass="int" MaxLength="10"></asp:TextBox>
                <asp:TextBox ID="txtParselNo" runat="server" Width="94px" CssClass="int" MaxLength="10"></asp:TextBox>
            </td>
            <td class="label">
                Plan No/Pafta No
            </td>
            <td>
                <asp:TextBox ID="txtPlanNo" runat="server" Width="94px" CssClass="int" MaxLength="10"></asp:TextBox>
                <asp:TextBox ID="txtPaftaNo" runat="server" Width="94px" CssClass="int" MaxLength="10"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="label">
                Kayıt Tarihi/No
            </td>
            <td>
                <uc1:Tarih ID="ucKayitTarihi" runat="server" />
                <asp:TextBox ID="txtKayitNo" runat="server" Width="50px" CssClass="int" MaxLength="10"></asp:TextBox>
            </td>
            <td class="label">
                Yüzölçümü(m<sup>2</sup>)
            </td>
            <td>
                <uc2:Sayi ID="ucYuzolcumu" runat="server" DataType="Double" Width="200" />
            </td>
        </tr>
        <tr>
            <td class="label">
                İşin Yapılacağı Tarih ve Saat
            </td>
            <td colspan="3">
                <uc1:tarih ID="ucIsinYapilacagiTarih" runat="server" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbAplikasyon" runat="server" Text="Aplikasyon" AutoPostBack="true"
                    OnCheckedChanged="cbAplikasyon_CheckedChanged" />
            </td>
        </tr>
        <tr runat="server" id="trIkinciAplikasyonTalebi" visible="false">
            <td class="label">
                Altı ay içinde aynı yere ait aplikasyon talebi var mı
            </td>
            <td colspan="3">
                <asp:DropDownList ID="ddlIkinciAplikasyonTalebi" runat="server" Width="208px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbKadastrolYolSinirlarininBelirleme" runat="server" Text="Kadastral Yol Sınırlarının Belirlenmesi" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbBirlestirme" runat="server" Text="Birleştirme" AutoPostBack="true"
                    OnCheckedChanged="cbBirlestirme_CheckedChanged" />
            </td>
        </tr>
        <tr runat="server" id="trParselSayiBirlestirme" visible="false">
            <td class="label">
                Parsel Sayısı
            </td>
            <td colspan="3">
                <uc2:Sayi ID="ucParselSayiBirlestirme" runat="server" Width="200" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbIrtifakTesisi" runat="server" Text="İrtifak Hakkı (Tesisi)" AutoPostBack="true"
                    OnCheckedChanged="cbIrtifakTesisi_CheckedChanged" />
            </td>
        </tr>
        <tr runat="server" id="trParselSayiTesisi" visible="false">
            <td class="label">
                Parsel Sayısı
            </td>
            <td colspan="3">
                <uc2:Sayi ID="ucParselSayiTesisi" runat="server" Width="200" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbIrtifakTerkini" runat="server" Text="İrtifak Hakkı (Terkini)"
                    AutoPostBack="true" OnCheckedChanged="cbIrtifakTerkini_CheckedChanged" />
            </td>
        </tr>
        <tr runat="server" id="trParselSayiTerkini" visible="false">
            <td class="label">
                Parsel Sayısı
            </td>
            <td colspan="3">
                <uc2:Sayi ID="ucParselSayiTerkini" runat="server" Width="200" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbYapisizkenYapiliHaleGetirme" runat="server" Text="Cins Değişikliği (Yapısızken Yapılı Hale Gelme)"
                    AutoPostBack="true" OnCheckedChanged="cbYapisizkenYapiliHaleGetirme_CheckedChanged" />
            </td>
        </tr>
        <tr runat="server" id="trYapisizkenYapiliHaleGetirme" visible="false">
            <td class="label">
                Bina Sayısı
            </td>
            <td>
                <uc2:Sayi ID="ucCinDegisikligiBinaSayisi" runat="server" Width="200" />
            </td>
            <td class="label">
                Bina Alanı(m<sup>2</sup>)
            </td>
            <td>
                <uc2:Sayi ID="ucCinsDegisikligiBinaAlani" runat="server" Width="200" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbYapiliykenYapisizHaleGetirme" runat="server" Text="Cins Değişikliği (Yapılıyken Yapısız Hale Gelme)"
                    AutoPostBack="true" OnCheckedChanged="cbYapiliykenYapisizHaleGetirme_CheckedChanged" />
            </td>
        </tr>
        <tr runat="server" id="trYapiliykenYapisizHaleGetirme" visible="false">
            <td class="label">
                Araziye Gidilmesi Gerekli Mi
            </td>
            <td colspan="3">
                <asp:DropDownList ID="ddlAraziyeGidilmesiGerekliMiCinsDegisikligi" runat="server"
                    Width="208px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbYerGostermeParsel" runat="server" Text="Yer Gösterme (Parselin Yerinde Gösterilmesi)" />
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:CheckBox ID="cbYerGostermeBagimsiz" runat="server" Text="Yer Gösterme (Bağımsız Bölümün Yerinde Gösterilmesi)" />
            </td>
        </tr>
        <tr>
            <td class="label">
                Adı Soyadı
            </td>
            <td>
                <asp:TextBox ID="txtMusteriAdi" runat="server" Width="94px"></asp:TextBox>
                <asp:TextBox ID="txtMusteriSoyadi" runat="server" Width="94px"></asp:TextBox>
            </td>
            <td class="label">
                Ünvanı
            </td>
            <td>
                <asp:TextBox ID="txtUnvan" runat="server" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="label">
                TC Kimlik No/Vergi No
            </td>
            <td>
                <asp:TextBox ID="txtTCKimlikNo" runat="server" Width="94px" CssClass="int" MaxLength="11"></asp:TextBox>
                <asp:TextBox ID="txtVergiNo" runat="server" Width="94px" CssClass="int" MaxLength="10"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvTCNo" runat="server" ErrorMessage="Lütfen TC Kimlik No giriniz"
                    ControlToValidate="txtTCKimlikNo" Display="Dynamic"></asp:RequiredFieldValidator>
                <asp:RangeValidator ID="rvTCNo" runat="server" ErrorMessage="RangeValidator" ControlToValidate="txtTCKimlikNo"
                    MaximumValue="100000000000" MinimumValue="10000000000" Type="Double" Display="Dynamic">TC Kimlik No 11 hane olmalıdır.</asp:RangeValidator>
                <asp:RangeValidator ID="rvVerigiNo" runat="server" ErrorMessage="RangeValidator" ControlToValidate="txtVergiNo"
                    MaximumValue="10000000000" MinimumValue="1000000000" Type="Double" Display="Dynamic">Vergi No 10 hane olmalıdır.</asp:RangeValidator>
            </td>
            <td class="label">
                Telefon No
            </td>
            <td>
                <telerik:RadMaskedTextBox ID="txtTelefon" runat="server" Font-Size="Small" Mask="(###)-###-####"
                            AllowEmptyEnumerations="false">
                </telerik:RadMaskedTextBox>
            </td>
        </tr>
        <tr>
            <td class="label">
                Adres
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtAdres" runat="server" Width="450px" TextMode="MultiLine" Height="70px"></asp:TextBox>
            </td>
        </tr>
        <tr runat="server" id="trUcret">
            <td class="label">
                Ücret
            </td>
            <td class="label" colspan="3">
                <asp:Label ID="lblUcret" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="4" class="buton">
                <asp:Button ID="btnKaydet" runat="server" Text="Kaydet" OnClick="btnKaydet_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
